package com.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Copyright (c)  by www.leya920.com
 * All right reserved.
 * Create Date: 2021-01-14 23:13
 * Create Author: xuweiwei
 * File Name: ConfigUtil.java
 * Last version:  1.0
 * Function: //TODO
 * Last Update Date: 2021-01-14 23:13
 * Last Update Log:
 * Comment: //TODO
 **/
@Component
public class ConfigUtil {

	@Value("${user.name}")
	private String username;


	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}
